package com.example.kugou.service.serviceimpl;

import com.example.kugou.mapper.MvTypeMapper;
import com.example.kugou.pojo.MvType;
import com.example.kugou.service.MvTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("mvTypeService")
public class MvTypeServiceImpl implements MvTypeService {

    @Resource
    MvTypeMapper mvTypeMapper;

    public MvTypeMapper getMvTypeMapper() {
        return mvTypeMapper;
    }

    public void setMvTypeMapper(MvTypeMapper mvTypeMapper) {
        this.mvTypeMapper = mvTypeMapper;
    }

    @Override
    public List<MvType> selectAllType() {
        return mvTypeMapper.selectAllType();
    }
}
